package com.jtyoui.code;

import java.util.HashMap;
import java.util.Map;

public class Holidays {

    private static Map<String, String> map = new HashMap<>();

    static {
        map.put("01-01", "元旦节");
        map.put("腊月卅十","除夕");
        map.put("正月除一","春节");
        map.put("一月十五", "元宵节");
        map.put("02-14", "情人节");
        map.put("03-08", "妇女节");
        map.put("03-12", "植树节");
        map.put("04-01","愚人节");
        map.put("04-05", "清明节");
        map.put("五月除五", "端午节");
        map.put("05-01", "劳动节");
        map.put("05-04", "青年节");
        map.put("06-01", "儿童节");
        map.put("07-01", "建党节");
        map.put("七月除七", "七夕节");
        map.put("08-01", "建军节");
        map.put("七月十五", "中元节");
        map.put("八月十五", "中秋节");
        map.put("九月除九", "重阳节");
        map.put("09-10","教师节");
        map.put("10-01", "国庆节");
        map.put("11-01","万圣节");
        map.put("12-24","平安夜");
        map.put("12-25","圣诞节");
    }

    public String getHoliday(String day){
        return map.get(day);
    }
}
